/* eslint-disable @typescript-eslint/no-unused-vars */
class A {
    name: string;
    constructor() {
        this.name = '小满';
    }
}

class B {
    name: any;
    constructor() {
        this.name = new A().name;
    }
}

class C {
    name: any;
    constructor() {
        this.name = new A().name;
    }
}
const a = new A();
console.log(a);
